<%@ page language="java" contentType="text/html; charset=windows-1256"
    pageEncoding="windows-1256"%>
    <%@page import="com.ibm.eg.cvmanager.dto.*"%>
<%@page import="com.ibm.eg.cvmanager.business.stub.*"%>
<%@page import="com.ibm.eg.cvmanager.business.interfaces.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<title>Insert title here</title>
</head>
<body>
<%

	String interviewid=request.getParameter("interviewid");
	String name="";
	if(interviewid != null){
		name=request.getParameter("name");
		InterviewerId interId =new InterviewerId ();
		interId.setInterviewId( Integer.parseInt(interviewid));
		interId.setName(name);
		Interviewer inter=new Interviewer();
		inter.setId(interId);
	}

	//InterviewerBusiness business = new InterviewerBusinessImpl();
%>
<%=name %>
<form method="POST" action="/CVManagerWeb/addInterviewer">
	<table  align="center">
	<tr>
	<td>
	<input name="interviewerName" type="text" size="25" value ="<%=name %>"/>
	<input type="hidden" value="<%=name %>" name="oldName"/>
	<input type="hidden" value="<%=interviewid %>" name="interviewId"/>
	</td>
	<td>
	<input name="submitBtn" type="submit" value="<%=interviewid== null ? "Add" : "Update"%>">
	</td>
	</tr>
	</table>
</form>

</body>
</html>